]> dgit.raspbian.org Git - gnome-shell.git/log
gnome-shell.git
8 years agobuild: Make sassc mandatory and always generate CSS files from Sass sources
Mario Sanchez Prada [Wed, 7 Feb 2018 12:31:50 +0000 (12:31 +0000)]
build: Make sassc mandatory and always generate CSS files from Sass sources

The previous implementation of the CSS generation logic considered sassc
an optional dependency and made sure for that reason that the result CSS
files ended up in the source directory, so that they could be checked
in and kept in sync with the source sass files.

As we are making sassc a required dependency, we can now stop doing that
extra work and simply rely on the CSS files being automatically generated
each time the sass sources change. By doing this, we can now effectively
get rid of the CSS files checked in the repo as well as of the parse_sass.sh
script, since the CSS files will now live on the build directory only.

https://bugzilla.gnome.org/show_bug.cgi?id=792822

8 years agoappDisplay: Fix small app folder icons when using HIDPI
Nikita Churaev [Fri, 5 Jan 2018 23:54:33 +0000 (02:54 +0300)]
appDisplay: Fix small app folder icons when using HIDPI

While the scale factor is taken into account for app icons, we set
an explicit size when combining the into a folder icon - unless we
take the factor into account, the result will be too small on HiDPI
displays.

https://bugzilla.gnome.org/show_bug.cgi?id=792259

8 years agoviewSelector: Avoid stealing focus from other entries into overview entry
Carlos Garnacho [Fri, 9 Feb 2018 23:18:26 +0000 (00:18 +0100)]
viewSelector: Avoid stealing focus from other entries into overview entry

The captured-event handler just redirects focus there on the first keypress,
what it doesn't account for is that other entries may be active while the
Activities overview is opened (eg. alt-f2, or other modal dialogs). Play
along with other entries, and make it only steal focus if no other entry
is selected.

https://gitlab.gnome.org/GNOME/gnome-shell/issues/33

Closes: #33
8 years agoUpdate Brazilian Portuguese translation
Enrico Nicoletto [Fri, 9 Feb 2018 23:57:38 +0000 (23:57 +0000)]
Update Brazilian Portuguese translation

8 years agoUpdate Friulian translation
Fabio Tomat [Fri, 9 Feb 2018 23:36:06 +0000 (23:36 +0000)]
Update Friulian translation

8 years agotheme: Replace gnome-shell-sass submodule with subtree
Florian Müllner [Fri, 9 Feb 2018 18:22:55 +0000 (19:22 +0100)]
theme: Replace gnome-shell-sass submodule with subtree

As the style has grown bigger and more complex, generating the different
variants from a common source has been a good decision. However given how
intertwined the theme is with gnome-shell itself, relying on a submodule
has proven to be quite painful. And as things stand right now, it is going
to get worse:

 - using either pre-generated CSS or generating it at build time is
   odd, and violates meson's strict separation between source- and
   build directories; we are therefore considering dropping the CSS
   and depending on sassc to always generate it at build time

 - with the migration to gitlab, our workflow shifts decisively towards
   branches; however there is no support in either git or gitlab for
   handling two brances of separate repositories consecutively, which
   gets particularly awkward for branches in a private namespace

With those pain points in mind, we will adjust our setup as follows:

 - remove the submodule from gnome-shell and instead import the
   sass as subtree

 - after that, the sass sources can be changed like any other files
   in the repository, and regular contributors can forget that there
   was ever anything special about them

 - whenever we want to update the classic style, we can push the subtree
   changes and bump gnome-shell-extension's sass submodule

In other words: Updating the classic styling will become slightly more
painful, but not much and only for me; in return, everyone else can
stop fiddling with submodules (and buy me a beer).

8 years agoUpdate Galician translation
Fran Dieguez [Fri, 9 Feb 2018 11:16:55 +0000 (11:16 +0000)]
Update Galician translation

8 years agoaltTab: Add also a shortcut to close windows from the switcher popups
Mario Sanchez Prada [Tue, 5 Dec 2017 10:02:23 +0000 (10:02 +0000)]
altTab: Add also a shortcut to close windows from the switcher popups

Similar to what has been done for the apps switcher, this allows closing
windows pressing W or F4 while operating the windows switcher popup or
the apps switcher popup while navigating the list of windows for an app.

https://bugzilla.gnome.org/show_bug.cgi?id=620106

8 years agoswitcherPopup: Handle removal of items from SwitcherPopup
Mario Sanchez Prada [Thu, 8 Feb 2018 11:11:11 +0000 (11:11 +0000)]
switcherPopup: Handle removal of items from SwitcherPopup

This will be mainly useful for closing apps from the applications
switcher, but can be implemented generically enough to select the
nearest existing item after removal if there's any, or destroying
the popup's actor otherwise.

Specifically for the apps switcher, doing this also removes the need
of having to manually either update the current app in AppSwitcher
and highlight it, if there are still any items after the removal, or
simply destroy the AppSwitcher otherwise. Besides, calling _select()
in the handler for item-removed makes sure that the list of thumbnails
in the switcher is always closed, if open, when quitting the app.

https://bugzilla.gnome.org/show_bug.cgi?id=620106

8 years agoaltTab: Add shortcut to quit application
Florian Müllner [Tue, 1 Jun 2010 18:03:45 +0000 (20:03 +0200)]
altTab: Add shortcut to quit application

Allow to quit the currently selected application by hitting Alt-q,
similar to the OS X switcher.

https://bugzilla.gnome.org/show_bug.cgi?id=620106

8 years agoaltTab: Update the switcher when apps and/or windows get stopped/closed
Florian Müllner [Thu, 8 Feb 2018 10:38:04 +0000 (10:38 +0000)]
altTab: Update the switcher when apps and/or windows get stopped/closed

Make sure that the items from the applications switcher and the windows
switcher are removed when the related applications get stopped, or some
of the associated windows closed.

https://bugzilla.gnome.org/show_bug.cgi?id=620106

8 years agoUpdate Polish translation
Piotr Drąg [Thu, 8 Feb 2018 22:59:32 +0000 (23:59 +0100)]
Update Polish translation

8 years agocalendar Preparing for genitive/nominative months
Rafal Luzynski [Thu, 8 Feb 2018 11:47:26 +0000 (12:47 +0100)]
calendar Preparing for genitive/nominative months

glibc 2.27 introduced new format specifiers for the month names.
It's obligatory to use them in several languages already and it's
encouraged to use them for all languages because it is not destructive
for any language. As more languages are expected to follow this
standard it's better to use the "%OB" format specifier now so it will
start working correctly automatically.
See also: https://sourceware.org/bugzilla/show_bug.cgi?id=10871

This standard has been also working in BSD and OS X since 1990s,
if anyone tries to use gnome-shell in these systems.

Note: This will not work correctly with glibc < 2.27, there is no
detection whether the system is old or new.

https://bugzilla.gnome.org/show_bug.cgi?id=780957

8 years agocalendar: Make month and month-year formats translatable
Rafal Luzynski [Fri, 14 Apr 2017 20:30:12 +0000 (22:30 +0200)]
calendar: Make month and month-year formats translatable

Don't try to figure out the month-year order from gtk+.
Provide the format for the translators.  This is easier
and more versatile.

https://bugzilla.gnome.org/show_bug.cgi?id=781329

8 years agoUpdate Polish translation
Piotr Drąg [Thu, 8 Feb 2018 00:30:27 +0000 (01:30 +0100)]
Update Polish translation

8 years agopanel: Fix active button style on solid panel
Exalm [Wed, 17 Jan 2018 18:35:50 +0000 (23:35 +0500)]
panel: Fix active button style on solid panel

Fix regression from bug 747163

https://bugzilla.gnome.org/show_bug.cgi?id=792616

8 years agoshell-recorder: save cursor's image hot x/y coordinates
Florian Zwoch [Wed, 7 Feb 2018 09:31:33 +0000 (09:31 +0000)]
shell-recorder: save cursor's image hot x/y coordinates

Whenever a new cursor image is loaded also save it's hot x/y
coordinates. The drawing code already respects these values, however
they were never set. This change will place the cursor image at the
correct location as seen on screen. shell-screenshot.c served as
reference.

https://bugzilla.gnome.org/show_bug.cgi?id=792860

8 years agoscreenShield: Do not save lock state on wayland
Florian Müllner [Mon, 5 Feb 2018 10:37:09 +0000 (11:37 +0100)]
screenShield: Do not save lock state on wayland

We keep track of the lock state and restore it on startup to prevent
a crash from bypassing the screen lock. However on wayland, a crash
doesn't result in gnome-session restarting gnome-shell, but brings
down the entire session - that is, restoring the lock state does not
actually protect the existing session in that case, but forces the
user to authenticate twice in order to start the next session. This
is clearly not helpful, so avoid this by not saving the state when
running as wayland compositor.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/17

8 years agoUpdate Finnish translation
Jiri Grönroos [Tue, 6 Feb 2018 21:42:17 +0000 (21:42 +0000)]
Update Finnish translation

8 years agoUpdate Friulian translation
Fabio Tomat [Tue, 6 Feb 2018 21:38:47 +0000 (21:38 +0000)]
Update Friulian translation

8 years agoUpdate Spanish translation
Daniel Mustieles [Tue, 6 Feb 2018 12:27:31 +0000 (12:27 +0000)]
Update Spanish translation

8 years agopanel: center date entry with workarea
Didier Roche [Tue, 9 Jan 2018 08:39:06 +0000 (09:39 +0100)]
panel: center date entry with workarea

Align and center the date entry with the workspace's workarea.
This way, maximized applications have their window aligned with the top date
entry.
This doesn't change anything for desktops with no docks or when left/right
workareas are aligned with the monitor.

The offset is leftOffset - rightOffset:
(workArea.x - monitor.x) - (monitor.width - ((workArea.x - monitor.x) +
                                              workArea.width))

https://bugzilla.gnome.org/show_bug.cgi?id=792354

8 years agoUpdate POTFILES.in
Piotr Drąg [Tue, 6 Feb 2018 01:15:20 +0000 (02:15 +0100)]
Update POTFILES.in

8 years agoUpdate Swedish translation
Anders Jonsson [Mon, 5 Feb 2018 22:42:48 +0000 (22:42 +0000)]
Update Swedish translation

8 years agothunderbolt: add policy provider and indicator
Christian Kellner [Tue, 19 Dec 2017 12:41:14 +0000 (13:41 +0100)]
thunderbolt: add policy provider and indicator

We will now basically act as "policy provider" for thunderbolt
peripherals by using org.freedesktop.bolt service: when new
devices are connect and session is a unlocked user session
we will automatically enroll (authorize and store in the database)
them.
If new devices are connected but the session is locked a message
will be shown informing the user that the device needs to be
reconnected to properly work.
The org.freedesktop.bolt service is provided by the "bolt" daemon.

8 years agokeyboard: Do not create widgetry for all keyboard groups at once
Carlos Garnacho [Tue, 23 Jan 2018 16:03:02 +0000 (17:03 +0100)]
keyboard: Do not create widgetry for all keyboard groups at once

Instead do this on demand based on the current group. It is less
taxing at the time of initially creating the Keyboard object.

8 years agokeyboard: Add languages selection popup
Carlos Garnacho [Tue, 23 Jan 2018 15:45:46 +0000 (16:45 +0100)]
keyboard: Add languages selection popup

Currently the language options displayed pretty much mirror those of the
top bar keyboard layout selection popup. It may make sense in the future
to only list languages, and automatically switch to the enabled IMs that
the OSK can benefit from (eg. by filling in suggestions).

8 years agokeyboard: slide focused window on OSK visibility
Carlos Garnacho [Wed, 11 Oct 2017 07:58:58 +0000 (09:58 +0200)]
keyboard: slide focused window on OSK visibility

The focused window will move up/down together with the OSK if the focus
area happens to be covered by the area to be covered by the OSK. This
state is reverted whenever the window loses focus, given it wasn't
relayout in between.

8 years agomisc: Make IBus a mandatory dependency
Carlos Garnacho [Wed, 17 Jan 2018 16:01:24 +0000 (17:01 +0100)]
misc: Make IBus a mandatory dependency

IBus was initially made optional as gnome-shell depended on too
recent API. This API is now old enough and gnome-shell is committing
further to IBus by implementing a ClutterInputMethod through it.
Let's just make IBus a mandatory dependency, instead of making code
paths trickier to cater for situations where it's missing.

8 years agokeyboard: Remove duplicate code
Carlos Garnacho [Fri, 22 Dec 2017 16:25:48 +0000 (17:25 +0100)]
keyboard: Remove duplicate code

The same calls happen right at the beginning of the function.

8 years agokeyboard: Move extended keys pop up/down into the Key object
Carlos Garnacho [Fri, 22 Dec 2017 14:59:19 +0000 (15:59 +0100)]
keyboard: Move extended keys pop up/down into the Key object

We do not need the parent Keyboard object to handle those specially, the
code can be self-contained enough. The Key object will simply emit
pressed/released events containing the keycode/string, be it from the
parent key or one contained in the BoxPointer.

8 years agoviewSelector: Send first printable keystroke to the search entry
Carlos Garnacho [Fri, 22 Dec 2017 11:30:11 +0000 (12:30 +0100)]
viewSelector: Send first printable keystroke to the search entry

StIMText used to handle key events for IM consumption in the capture phase,
this made the search box work automagically with nothing explicitly focusing
it. Since it's no longer the case, it has to be done somewhere.

8 years agokeyboard: add a special KeyContainer actor to contain keyboard layers
Carlos Garnacho [Wed, 20 Dec 2017 12:08:50 +0000 (13:08 +0100)]
keyboard: add a special KeyContainer actor to contain keyboard layers

Instead of manually resizing each key everytime the keyboard needs to
relayout, have a special grid container that will preserve aspect when
resized.

This actor works in two stages though, first the keys need to be added
and then layoutButtons() need to be called for the actors to be
reparented to the container with the right attachment options.

8 years agoshell: Remove gdk_screen property/getter
Carlos Garnacho [Thu, 14 Dec 2017 16:22:59 +0000 (17:22 +0100)]
shell: Remove gdk_screen property/getter

It's used nowhere.

8 years agoshell: Remove intricate key event handling code
Carlos Garnacho [Thu, 14 Dec 2017 16:21:16 +0000 (17:21 +0100)]
shell: Remove intricate key event handling code

We no longer need to do contortions with key events, as Clutter
key events will be already handed to IMs through ClutterInputMethod.

8 years agost: Remove StIMText
Carlos Garnacho [Thu, 14 Dec 2017 16:20:49 +0000 (17:20 +0100)]
st: Remove StIMText

It is entirely unused now.

8 years agost: Make StEntry rely entirely on ClutterInputMethod/Focus
Carlos Garnacho [Thu, 14 Dec 2017 16:19:01 +0000 (17:19 +0100)]
st: Make StEntry rely entirely on ClutterInputMethod/Focus

StIMText is no longer needed here.

8 years agoibusCandidatePopup: Feed OSK suggestions from ibus panel candidates
Carlos Garnacho [Wed, 6 Dec 2017 13:44:16 +0000 (14:44 +0100)]
ibusCandidatePopup: Feed OSK suggestions from ibus panel candidates

We don't currently hide the ibus completion panel, and this is done from
within the popup that we are meant to hide itself, so thoroughly sucks.

8 years agokeyboard: Add visible property
Carlos Garnacho [Fri, 15 Dec 2017 16:53:48 +0000 (17:53 +0100)]
keyboard: Add visible property

So its visibility can be queried externally.

8 years agokeyboard: Add Suggestions object/actor
Carlos Garnacho [Wed, 6 Dec 2017 12:46:02 +0000 (13:46 +0100)]
keyboard: Add Suggestions object/actor

This will display completion suggestions, that when clicked will get the
text inserted into the current IM focus.

8 years agokeyboard: Lookup minimum number of grid slots for each keymap
Carlos Garnacho [Tue, 5 Dec 2017 21:41:32 +0000 (22:41 +0100)]
keyboard: Lookup minimum number of grid slots for each keymap

Instead of doing max() of all. Results on better used screen space on
every keymap.

8 years agokeyboard: Use InputMethod underneath
Carlos Garnacho [Tue, 5 Dec 2017 19:05:18 +0000 (20:05 +0100)]
keyboard: Use InputMethod underneath

8 years agomisc: Add InputMethod class
Carlos Garnacho [Tue, 5 Dec 2017 19:05:00 +0000 (20:05 +0100)]
misc: Add InputMethod class

This is a ClutterInputMethod implementation using IBus underneath. The
input method will interact with the currently focused ClutterInputFocus,
be it shell chrome or wayland clients through the text_input protocol.

8 years agokeyboard: Ensure to resize keys after layer change
Carlos Garnacho [Fri, 1 Dec 2017 19:17:17 +0000 (20:17 +0100)]
keyboard: Ensure to resize keys after layer change

The keys possibly need resizing after a (new) layer has been set, there's
however calling places that don't. Instead, fold this._redraw() into
setActiveLayer().

8 years agost: Make st_button_fake_release() work with touch press
Carlos Garnacho [Fri, 10 Nov 2017 17:29:53 +0000 (18:29 +0100)]
st: Make st_button_fake_release() work with touch press

The st_button_release() call wouldn't happen because StButton does not
set priv->button_mask on touch events. And if we make it called, we can't
try to unset the device grab at the end of the function, as device/sequence
are unset earlier on.

8 years agomain: Stop acquiring caribou name
Carlos Garnacho [Fri, 10 Nov 2017 17:29:26 +0000 (18:29 +0100)]
main: Stop acquiring caribou name

This is not necessary anymore.

8 years agokeyboard: Rework OSK
Carlos Garnacho [Sat, 5 Aug 2017 10:21:30 +0000 (12:21 +0200)]
keyboard: Rework OSK

Caribou is no longer used to load keyboard layouts,
gnome-shell uses the JSON files extracted from Unicode
CLDR instead.

8 years agokeyboard: Drop message tray source, and tray focus handling
Carlos Garnacho [Sat, 5 Aug 2017 10:20:29 +0000 (12:20 +0200)]
keyboard: Drop message tray source, and tray focus handling

These are long unused.

8 years agomain: Load OSK layouts resource
Carlos Garnacho [Thu, 10 Aug 2017 19:27:25 +0000 (21:27 +0200)]
main: Load OSK layouts resource

8 years agodata: Add keyboard layout JSON files
Carlos Garnacho [Thu, 10 Aug 2017 19:06:25 +0000 (21:06 +0200)]
data: Add keyboard layout JSON files

These have been created with the script at
git://repo.or.cz/cldr2json.git to translate the XML android
keymaps at http://www.unicode.org/Public/cldr/latest/keyboards.zip
into JSON, easier to parse from gnome-shell.

8 years agodata: Add README and supporting script to update keyboard layouts from CLDR
Carlos Garnacho [Fri, 10 Nov 2017 14:26:48 +0000 (15:26 +0100)]
data: Add README and supporting script to update keyboard layouts from CLDR

The README describes the steps in detail, but most of it is abstracted away
by the update-osk-layouts.sh script.

8 years agokeyboard: Restore intended OSK visibility behavior
Carlos Garnacho [Thu, 18 Jan 2018 17:56:10 +0000 (18:56 +0100)]
keyboard: Restore intended OSK visibility behavior

Getting the necessary "setting enabled, or input from touchscreen"
conditions to have the OSK shown are not enough on the lack of a
current focus. As we are setting up the caret tracker here, wait for
the focus in event before showing the keyboard.

This fixes 2 issues, with the setting disabled it became really hard
to get the OSK hidden on eg. touchscreen->pointer device switches,
as visibility only depended on the a11y setting here. And secondly,
enabling the setting would always end up with the OSK being shown
regardless of focus, while it should stay hidden if there's no text
edition.

https://bugzilla.gnome.org/show_bug.cgi?id=788188

8 years agoprivate: Avoid unnecessary conversions in shadow computation
Florian Müllner [Sat, 7 Oct 2017 08:15:18 +0000 (10:15 +0200)]
private: Avoid unnecessary conversions in shadow computation

The type was changed from double to float for no apparent reason
when moving code in commit 5060081db5f.

https://bugzilla.gnome.org/show_bug.cgi?id=788627

8 years agoUpdate zh_CN translation
Tong Hui [Mon, 5 Feb 2018 01:39:38 +0000 (09:39 +0800)]
Update zh_CN translation

8 years agoUpdate Polish translation
Piotr Drąg [Sun, 4 Feb 2018 22:37:21 +0000 (23:37 +0100)]
Update Polish translation

8 years agoUpdate Finnish translation
Jiri Grönroos [Sat, 3 Feb 2018 12:04:25 +0000 (12:04 +0000)]
Update Finnish translation

8 years agoUpdate Indonesian translation
Kukuh Syafaat [Thu, 1 Feb 2018 17:55:15 +0000 (17:55 +0000)]
Update Indonesian translation

8 years agoUpdate Swedish translation
Anders Jonsson [Wed, 31 Jan 2018 22:39:24 +0000 (22:39 +0000)]
Update Swedish translation

8 years agopadOsd: Fixup to the previous commit
Carlos Garnacho [Tue, 30 Jan 2018 15:33:40 +0000 (16:33 +0100)]
padOsd: Fixup to the previous commit

Forgot to squash this change before pushing, I will leave something in the
money jar as I close the door.

8 years agopadOsd: Ensure to pick pad devices only
Carlos Garnacho [Fri, 19 Jan 2018 09:45:50 +0000 (10:45 +0100)]
padOsd: Ensure to pick pad devices only

If the underlying X11 input driver creates multiple devices from a single
device node, we may end up picking up the wrong device. So, instead of
picking the first device based on node and bailing out if it's not a pad,
pick the first pad that has that device node, and bail out if there is
none.

https://gitlab.gnome.org/GNOME/gnome-shell/issues/10

Closes: #10
8 years agobuild: Update gvc to support renamed options
Iñigo Martínez [Tue, 30 Jan 2018 12:37:38 +0000 (13:37 +0100)]
build: Update gvc to support renamed options

gvc has made some recent changes that rename its user options
following meson guidelines for GNOME packages[0].

The options used in gvc as a subproject have been renamed
accordingly.

[0] https://wiki.gnome.org/Initiatives/GnomeGoals/MesonPorting

8 years agoUpdate Hungarian translation
Balázs Meskó [Sun, 28 Jan 2018 21:49:02 +0000 (21:49 +0000)]
Update Hungarian translation

8 years agobuild: Update gvc to not require ALSA support
Bastien Nocera [Fri, 26 Jan 2018 10:24:03 +0000 (11:24 +0100)]
build: Update gvc to not require ALSA support

ALSA support is only used in gnome-settings-daemon, so always disable
the option, which wouldn't work on non-Linux anyway.

8 years agoUpdate Spanish translation
Daniel Mustieles [Thu, 25 Jan 2018 11:51:04 +0000 (11:51 +0000)]
Update Spanish translation

8 years agoUpdate Slovak translation
Dušan Kazik [Mon, 22 Jan 2018 19:41:26 +0000 (19:41 +0000)]
Update Slovak translation

8 years agonetworkAgent: Pick up VPN service dir from pkg-config
Florian Müllner [Sun, 21 Jan 2018 20:04:37 +0000 (21:04 +0100)]
networkAgent: Pick up VPN service dir from pkg-config

It turns out that NetworkManager does export the directory as pkg-config
variable after all, so use that instead of building the path ourselves
from the prefix.

https://bugzilla.gnome.org/show_bug.cgi?id=789811

8 years ago[l10n] Update Catalan translation
Gil Forcada [Sun, 21 Jan 2018 23:22:18 +0000 (00:22 +0100)]
[l10n] Update Catalan translation

8 years agoUpdate Catalan translation
Jordi Mas [Sat, 20 Jan 2018 21:10:11 +0000 (22:10 +0100)]
Update Catalan translation

8 years agoUpdate German translation
Tim Sabsch [Fri, 19 Jan 2018 23:04:32 +0000 (23:04 +0000)]
Update German translation

8 years agodnd: Declare restore location variables
Marco Trevisan (Treviño) [Thu, 7 Dec 2017 00:03:51 +0000 (19:03 -0500)]
dnd: Declare restore location variables

https://bugzilla.gnome.org/show_bug.cgi?id=791233

8 years agoappDisplay: don't try to close the popup menu that is already destroyed
Marco Trevisan (Treviño) [Wed, 6 Dec 2017 05:55:37 +0000 (00:55 -0500)]
appDisplay: don't try to close the popup menu that is already destroyed

This would lead to a JS error otherwise, as we might end up
in deleting actors that have been already destructed.

https://bugzilla.gnome.org/show_bug.cgi?id=791233

8 years agokeyboard: Don't pop up on touch events
Florian Müllner [Mon, 9 Oct 2017 10:53:04 +0000 (12:53 +0200)]
keyboard: Don't pop up on touch events

We want touch events to enable the keyboard and focus tracking, but
not to actually show it right away. Implement that behavior by only
changing the visibility of the keyboard when triggered by a GSettings
change.

https://bugzilla.gnome.org/show_bug.cgi?id=788188

8 years agokeyboard: Split enabled setting from enabled state
Florian Müllner [Mon, 9 Oct 2017 10:51:08 +0000 (12:51 +0200)]
keyboard: Split enabled setting from enabled state

We enable the keyboard when it is either enabled explicitly via
a11y settings or when using a touch device. We'll soon want to
special-case changes to the GSettings, so track its value in a
dedicated property.

https://bugzilla.gnome.org/show_bug.cgi?id=788188

8 years agokeyboard: Minor cleanup
Florian Müllner [Fri, 13 Oct 2017 15:46:58 +0000 (17:46 +0200)]
keyboard: Minor cleanup

_syncEnabled() will call _setupKeyboard() if necessary, so no need
to call it explicitly before.

https://bugzilla.gnome.org/show_bug.cgi?id=788188

8 years agoUpdate Friulian translation
Fabio Tomat [Mon, 15 Jan 2018 10:54:48 +0000 (10:54 +0000)]
Update Friulian translation

8 years agonetwork: unregister the agent when it's disabled
Lubomir Rintel [Wed, 6 Dec 2017 15:55:20 +0000 (16:55 +0100)]
network: unregister the agent when it's disabled

When the agent doesn't work (e.g. when the screen is locked), it shouldn't be
registered with NM. Otherwise it will keep cancelling the requests that
could happily be serviced with system secrets.

https://bugzilla.gnome.org/show_bug.cgi?id=789811

8 years agonetwork: remove the vpn request when it's serviced
Lubomir Rintel [Wed, 6 Dec 2017 15:55:15 +0000 (16:55 +0100)]
network: remove the vpn request when it's serviced

The native agent already forgets about the request at the point it's
serviced and the further attempt to use it (e.g. cancel it when the screen
is locked) will trigger an assertion failure:

  ** (gnome-shell:30862): CRITICAL **: shell_network_agent_respond: assertion 'request != NULL' failed

https://bugzilla.gnome.org/show_bug.cgi?id=789811

8 years agonetwork: port to libnm
Lubomir Rintel [Tue, 31 Oct 2017 10:38:20 +0000 (11:38 +0100)]
network: port to libnm

The libnm-glib is depreacted for a long time already.

https://bugzilla.gnome.org/show_bug.cgi?id=789811

8 years agoui: Add keyboard accessibility dialog
Olivier Fourdan [Tue, 7 Nov 2017 14:40:51 +0000 (15:40 +0100)]
ui: Add keyboard accessibility dialog

Show a dialog informing the user each time the keyboard accessibility
flags are changed by one of the clutter backends (either from toggle
keys or two-keys-off modifiers).

https://bugzilla.gnome.org/show_bug.cgi?id=788564

8 years agonetwork: Fix visibility of VPN section
Florian Müllner [Thu, 21 Dec 2017 15:51:28 +0000 (16:51 +0100)]
network: Fix visibility of VPN section

Commit f2a9467f91b was too eager to simplify the code, and removed
the bits that hid the section in case no VPNs are set up - add them
back to fix the visibility.

https://bugzilla.gnome.org/show_bug.cgi?id=787845

8 years agoUpdate Finnish translation
Jiri Grönroos [Tue, 9 Jan 2018 18:24:32 +0000 (18:24 +0000)]
Update Finnish translation

8 years agolocation: Use translated reason string
Florian Müllner [Mon, 8 Jan 2018 15:56:43 +0000 (16:56 +0100)]
location: Use translated reason string

Gio now has API to look up localized strings from desktop files,
so we can display a correctly translated reason where available.

https://bugzilla.gnome.org/show_bug.cgi?id=779413

8 years agonetworkAgent: Update VPN config path
Florian Müllner [Mon, 11 Dec 2017 17:37:45 +0000 (18:37 +0100)]
networkAgent: Update VPN config path

The location moved a while ago, so update the path to point to
the non-deprecated location.

https://bugzilla.gnome.org/show_bug.cgi?id=791487

8 years agoman: Update project website
Piotr Drąg [Sun, 7 Jan 2018 20:39:18 +0000 (21:39 +0100)]
man: Update project website

8 years agoUpdated Slovenian translation
Matej Urbančič [Sun, 31 Dec 2017 10:38:12 +0000 (11:38 +0100)]
Updated Slovenian translation

8 years agoUpdate Swedish translation
Anders Jonsson [Tue, 26 Dec 2017 11:44:38 +0000 (11:44 +0000)]
Update Swedish translation

8 years agoUpdate Turkish translation
Emin Tufan Çetin [Wed, 20 Dec 2017 19:56:13 +0000 (19:56 +0000)]
Update Turkish translation

8 years agoUpdate Latvian translation
Rūdolfs Mazurs [Mon, 18 Dec 2017 18:16:45 +0000 (20:16 +0200)]
Update Latvian translation

8 years agobackground: don't leak wall clock when background changes
Ray Strode [Fri, 15 Dec 2017 15:05:34 +0000 (10:05 -0500)]
background: don't leak wall clock when background changes

The background code allocates a GnomeWallClock when its first created,
but neglects to drop a reference to that clock at destroy time.
The undestroyed clocks lead to a timerfd leak that eventually prevents
the shell from functioning.

https://bugzilla.gnome.org/show_bug.cgi?id=791655

8 years agoUpdate Friulian translation
Fabio Tomat [Fri, 15 Dec 2017 12:30:08 +0000 (12:30 +0000)]
Update Friulian translation

8 years agoUpdate Spanish translation
Daniel Mustieles [Wed, 13 Dec 2017 15:35:10 +0000 (15:35 +0000)]
Update Spanish translation

8 years agosystem: Align submenu labels with parent
Florian Müllner [Sun, 19 Nov 2017 19:35:25 +0000 (20:35 +0100)]
system: Align submenu labels with parent

All section titles use an icon, while all corresponding submenu items
are plain-text. As a result, labels in submenus aren't aligned with
the labels in the parent, which makes them harder to read and look
unbalanced. Address this by adding additional whitespace to submenu
items to account for the additional elements in the title.

https://bugzilla.gnome.org/show_bug.cgi?id=706191

8 years agoUpdate Arabic translation
Khaled Hosny [Sun, 10 Dec 2017 09:32:35 +0000 (11:32 +0200)]
Update Arabic translation

8 years agoUpdate Catalan translation
Jordi Mas [Fri, 8 Dec 2017 09:51:15 +0000 (10:51 +0100)]
Update Catalan translation

8 years agoUpdate Icelandic translation
Sveinn í Felli [Fri, 8 Dec 2017 09:01:12 +0000 (09:01 +0000)]
Update Icelandic translation

(cherry picked from commit 74f4447b38e33dafbdd08a72368280d3f0193c48)

8 years agodateMenu: Fix possible crash with unknown locations
Bastien Nocera [Mon, 4 Dec 2017 13:30:01 +0000 (14:30 +0100)]
dateMenu: Fix possible crash with unknown locations

If there are locations unknown to the libgweather version gnome-shell is
using, don't crash.

JS ERROR: TypeError: b.location is null
WorldClocksSection<._clocksChanged/<@resource:///org/gnome/shell/ui/dateMenu.js:141:1
WorldClocksSection<._clocksChanged@resource:///org/gnome/shell/ui/dateMenu.js:139:9

https://bugzilla.gnome.org/show_bug.cgi?id=791148

8 years agodateMenu: Ignore malformed world-clocks settings
Bastien Nocera [Mon, 4 Dec 2017 13:30:01 +0000 (14:30 +0100)]
dateMenu: Ignore malformed world-clocks settings

Guard against a malformed setting that doesn't contain a
'location' key.

https://bugzilla.gnome.org/show_bug.cgi?id=791148

8 years agodash: Do not shadow ClutterActor's destroy()
Marco Trevisan (Treviño) [Tue, 5 Dec 2017 22:04:24 +0000 (17:04 -0500)]
dash: Do not shadow ClutterActor's destroy()

Since commit ef1e27966db2 turned DashItemContainer into an StWidget,
the destroy() method overrides the ClutterActor method, which is at
the very least bad style. Instead, follow the usual pattern of using
a ::destroy handler.

https://bugzilla.gnome.org/show_bug.cgi?id=791233

8 years agodash: Make sure item labels are only destroyed once
Marco Trevisan (Treviño) [Tue, 5 Dec 2017 01:45:35 +0000 (20:45 -0500)]
dash: Make sure item labels are only destroyed once

Labels are currently destroyed from both animateOutAndDestroy()
and destroy(), which now (rightfully) triggers a gjs warning. As
the label is created unconditionally since commit 36e5ae4a250,
mirror that and always release it in destroy() and hide it
elsewhere.

https://bugzilla.gnome.org/show_bug.cgi?id=791233

8 years agoUpdate Indonesian translation
Kukuh Syafaat [Tue, 5 Dec 2017 14:58:58 +0000 (14:58 +0000)]
Update Indonesian translation